<%-- 
    Document   : actionTourservice
    Created on : Nov 13, 2012, 8:29:00 PM
    Author     : Nguyen Hung
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
            <div style="float: left"> 
                <div class="search_char" style="float:left;height: 30px;padding: 8px 0px 0px 10px;">
                    <h:inputText value="#{k400Controller.keysearch}" onfocus="if(this.value=='#{k400Controller.keysearch}')this.value='';" styleClass="keysearch11"  style="width:197px;margin-left:33px;"/>
                    <h:commandButton      action="#{k400Controller.reload}" value="" style="margin-left:5px;" styleClass="buttonsearch">
                    </h:commandButton>
                </div>
            </div>
            <div class="tabelCountry">
                <rich:dataTable  reRender="sc2" value="#{v300Controller.listA000}" var="item"                            
                                 rowClasses="greyRow2, whiteRow2"
                                 columnClasses=",columns,columns,columns" rowKeyVar="row"
                                 id="table" styleClass="machinePosDataTable">
                    <rich:column style="width:15px;">
                        <f:facet name="header">
                            <h:outputText value="Chọn" />
                        </f:facet>

                        <div class="choose" lang="<h:outputText value="#{item.pa000}"/>" style="width: 15px;text-align: center">
                            <h:selectBooleanCheckbox lang="#{item.val}" styleClass="choose2" id="check2" value="#{item.selected}">
                            </h:selectBooleanCheckbox>


                        </div>
                    </rich:column>
                    <rich:column >
                        <f:facet name="header">
                            <h:outputText value="Thành phố" />
                        </f:facet>

                        <div style="text-align: left">
                            <h:outputText value="#{item.label} " />    
                        </div>
                    </rich:column>

                </rich:dataTable>
            </div>

          
        </f:view>
    </body>
</html>
